package com.ruoyi.fs.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 案件文件对象 fs_case_file
 * 
 * @author hero
 * @date 2024-10-12
 */
public class FsCaseFile extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 案件id */
    @Excel(name = "案件id")
    private Long caseId;

    /** 类型 */
    @Excel(name = "类型")
    private Integer type;

    /** 子类型 */
    @Excel(name = "子类型")
    private Integer subType;

    /** 文件类型名称 */
    @Excel(name = "文件类型名称")
    private String typeName;

    /** 文件名称 */
    @Excel(name = "文件名称")
    private String fileName;

    /** 文件本地存放路径 */
    @Excel(name = "文件本地存放路径")
    private String filePath;

    /** oos访问路径 */
    @Excel(name = "oos访问路径")
    private String oosUrl;

    public void setCaseId(Long caseId) 
    {
        this.caseId = caseId;
    }

    public Long getCaseId()
    {
        return caseId;
    }
    public void setType(Integer type)
    {
        this.type = type;
    }

    public Integer getType()
    {
        return type;
    }
    public void setSubType(Integer subType)
    {
        this.subType = subType;
    }

    public Integer getSubType()
    {
        return subType;
    }
    public void setTypeName(String typeName) 
    {
        this.typeName = typeName;
    }

    public String getTypeName() 
    {
        return typeName;
    }
    public void setFileName(String fileName) 
    {
        this.fileName = fileName;
    }

    public String getFileName() 
    {
        return fileName;
    }
    public void setFilePath(String filePath) 
    {
        this.filePath = filePath;
    }

    public String getFilePath() 
    {
        return filePath;
    }
    public void setOosUrl(String oosUrl) 
    {
        this.oosUrl = oosUrl;
    }

    public String getOosUrl() 
    {
        return oosUrl;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("caseId", getCaseId())
            .append("type", getType())
            .append("subType", getSubType())
            .append("typeName", getTypeName())
            .append("fileName", getFileName())
            .append("filePath", getFilePath())
            .append("oosUrl", getOosUrl())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
